package com.gpframework.module.module.service.impl;

import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gpframework.module.module.mapper.GpTianhongInventoryInformationMapper;
import com.gpframework.module.module.domain.GpTianhongInventoryInformation;
import com.gpframework.module.module.domain.vo.GpTianhongInventoryInformationVo;
import com.gpframework.module.module.service.IGpTianhongInventoryInformationService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import java.util.List;
/**
 * @ClassName GpTianhongInventoryInformation
 * @Author gpframework
 * @Date 2024-02-22
 * @Version 1.0.0
 * @Description 天鸿库存信息Service业务层处理
 */
@Service
public class GpTianhongInventoryInformationServiceImpl extends ServiceImpl<GpTianhongInventoryInformationMapper, GpTianhongInventoryInformation> implements IGpTianhongInventoryInformationService {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2024-02-22
     * @Param [lqw]
     * @Return List<GpTianhongInventoryInformationVo>
     */
    @Override
    public List<GpTianhongInventoryInformationVo> listVo(QueryWrapper<GpTianhongInventoryInformation> lqw) {
        return this.baseMapper.listVo(lqw);
    }

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2024-02-22
     * @Param [id]
     * @Return GpTianhongInventoryInformationVo
     */
    @Override
    public GpTianhongInventoryInformationVo getVoById(Long id) {
        return this.baseMapper.getVo(id);
    }

    @Override
    public boolean inserBatch(List<GpTianhongInventoryInformation> list) {
        return this.baseMapper.inserBatch(list);
    }
}
